package org.jeecg.modules.demo.puInventory.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: pu_inventory
 * @Author: jeecg-boot
 * @Date:   2022-01-14
 * @Version: V1.0
 */
@Data
@TableName("pu_inventory")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="pu_inventory对象", description="pu_inventory")
public class PuInventory implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**存货名称*/
	@Excel(name = "存货名称", width = 15)
    @ApiModelProperty(value = "存货名称")
    private java.lang.String cinvname;
	/**均价*/
	@Excel(name = "均价", width = 15)
    @ApiModelProperty(value = "均价")
    private java.math.BigDecimal averagePrice;
	/**现存量*/
	@Excel(name = "现存量", width = 15)
    @ApiModelProperty(value = "现存量")
    private java.math.BigDecimal standingStock;
    /**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**总价*/
	@Excel(name = "总价", width = 15)
    @ApiModelProperty(value = "总价")
    private java.math.BigDecimal totalPrices;
	/**仓库*/
	@Excel(name = "仓库", width = 15)
    @ApiModelProperty(value = "仓库")
    private java.lang.String warehouse;
	/**计量单位*/
	@Excel(name = "计量单位", width = 15)
    @ApiModelProperty(value = "计量单位")
    private java.lang.String measureunit;
}
